Skip to content

Add AlignEnumMemberValues setting#2271

Merged
andyleejordan merged 1 commit intoPowerShell:mainfrom
liamjpeters:AddEnumAlignmentSetting
Apr 3, 2026
Merged

Add AlignEnumMemberValues setting#2271
andyleejordan merged 1 commit intoPowerShell:mainfrom
liamjpeters:AddEnumAlignmentSetting

Conversation

@liamjpeters
Copy link
Copy Markdown
Contributor

@liamjpeters liamjpeters commented Mar 24, 2026

PR Summary

This PR exposes the new PSSA setting for controlling whether Enum formatting is enabled or disabled.

PR Context

PSScriptAnalyzer 1.25.0 has been released (🎉) and contains PowerShell/PSScriptAnalyzer#2132 which added support for Enum formatting.

There is a corresponding PR for the vscode-powershell which expose the setting to users. PowerShell/vscode-powershell#5442

@liamjpeters
Copy link
Copy Markdown
Contributor Author

FYI @bergmeister

Copy link
Copy Markdown
Member

@andyleejordan andyleejordan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@andyleejordan andyleejordan merged commit 373acd7 into PowerShell:main Apr 3, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants